package com.hdoit.apollo.web.cargo.modelconfig;

import com.tennetcn.web.component.attribute.DisplayNameAttribute;
import com.tennetcn.web.component.attribute.base.ModelMetadataAttributeConfiguration;

/**
 * @author      humaoshu
 * @email       
 * @createtime  2018年05月04日 14:20:15
 * @comment
 */
public class CollocationConfig extends ModelMetadataAttributeConfiguration{
    public CollocationConfig(){
        this.setProperty("cargoId")
            .hasAttribute(new DisplayNameAttribute("货物"));

        this.setProperty("propertyNameOne")
            .hasAttribute(new DisplayNameAttribute("规格"));

        this.setProperty("propertyNameTwo")
            .hasAttribute(new DisplayNameAttribute("规格"));

        this.setProperty("costPrice")
            .hasAttribute(new DisplayNameAttribute("成本价"));

        this.setProperty("salePrice")
            .hasAttribute(new DisplayNameAttribute("销售价"));

        this.setProperty("shopId")
            .hasAttribute(new DisplayNameAttribute("门店id"));

    }
}